Appearance-Compliant Text Color Constants
NEW WITH THE APPEARANCE MANAGER
You can pass constants of typeThemeTextColor
in theinColor
parameter ofSetThemeTextColor
to specify Appearance-compliant text colors for many standard human interface elements in their active, inactive, and highlighted states.
enum{ kThemeActiveDialogTextColor = 1, kThemeInactiveDialogTextColor = 2, kThemeActiveAlertTextColor = 3, kThemeInactiveAlertTextColor = 4, kThemeActiveModelessDialogTextColor = 5, kThemeInactiveModelessDialogTextColor = 6, kThemeActiveWindowHeaderTextColor = 7, kThemeInactiveWindowHeaderTextColor = 8, kThemeActivePlacardTextColor = 9, kThemeInactivePlacardTextColor = 10, kThemePressedPlacardTextColor = 11, kThemeActivePushButtonTextColor = 12, kThemeInactivePushButtonTextColor = 13, kThemePressedPushButtonTextColor = 14, kThemeActiveBevelButtonTextColor = 15, kThemeInactiveBevelButtonTextColor = 16, kThemePressedBevelButtonTextColor = 17, kThemeActivePopupButtonTextColor = 18, kThemeInactivePopupButtonTextColor = 19, kThemePressedPopupButtonTextColor = 20, kThemeIconLabelTextColor = 21, kThemeListViewTextColor = 22, kThemeActiveDocumentWindowTitleTextColor = 23, kThemeInactiveDocumentWindowTitleTextColor = 24, kThemeActiveMovableModalWindowTitleTextColor = 25, kThemeInactiveMovableModalWindowTitleTextColor = 26, kThemeActiveUtilityWindowTitleTextColor = 27, kThemeInactiveUtilityWindowTitleTextColor = 28, kThemeActivePopupWindowTitleColor = 29, kThemeInactivePopupWindowTitleColor = 30, kThemeActiveRootMenuTextColor = 31, kThemeSelectedRootMenuTextColor = 32, kThemeDisabledRootMenuTextColor = 33, kThemeActiveMenuItemTextColor = 34, kThemeSelectedMenuItemTextColor = 35, kThemeDisabledMenuItemTextColor = 36, kThemeActivePopupLabelTextColor = 37, kThemeInactivePopupLabelTextColor = 38 }; typedef SInt16 ThemeTextColor;Constant descriptions
kThemeActiveDialogTextColor
- Text color for active dialog box.
kThemeInactiveDialogTextColor
- Text color for inactive dialog box.
kThemeActiveAlertTextColor
- Text color for active alert box. The text color for alert boxes may differ from dialog box text color.
kThemeInactiveAlertTextColor
- Text color for inactive alert box. The text color for alert boxes may differ from dialog box text color.
kThemeActiveModelessDialogTextColor
- Text color for active modeless dialog box.
kThemeInactiveModelessDialogTextColor
- Text color for inactive modeless dialog box.
kThemeActiveWindowHeaderTextColor
- Text color for active window header.
kThemeInactiveWindowHeaderTextColor
- Text color for inactive window header.
kThemeActivePlacardTextColor
- Text color for active placard.
kThemeInactivePlacardTextColor
- Text color for inactive placard.
kThemePressedPlacardTextColor
- Text color for highlighted placard.
kThemeActivePushButtonTextColor
- Text color for active push button.
kThemeInactivePushButtonTextColor
- Text color for inactive push button.
kThemePressedPushButtonTextColor
- Text color for highlighted push button.
kThemeActiveBevelButtonTextColor
- Text color for active bevel button.
kThemeInactiveBevelButtonTextColor
- Text color for inactive bevel button.
kThemePressedBevelButtonTextColor
- Text color for highlighted bevel button.
kThemeActivePopupButtonTextColor
- Text color for active pop-up menu button.
kThemeInactivePopupButtonTextColor
- Text color for inactive pop-up menu button.
kThemePressedPopupButtonTextColor
- Text color for highlighted pop-up menu button.
kThemeIconLabelTextColor
- Text color for icon label.
kThemeListViewTextColor
- Text color for list view.
kThemeActiveDocumentWindowTitleTextColor
- Text color for active document window title. Available with Appearance 1.0.1 and later.
kThemeInactiveDocumentWindowTitleTextColor
- Text color for inactive document window title. Available with Appearance 1.0.1 and later.
kThemeActiveMovableModalWindowTitleTextColor
- Text color for active movable modal window title. Available with Appearance 1.0.1 and later.
kThemeInactiveMovableModalWindowTitleTextColor
- Text color for inactive movable modal window title. Available with Appearance 1.0.1 and later.
kThemeActiveUtilityWindowTitleTextColor
- Text color for active utility (floating) window title. Available with Appearance 1.0.1 and later.
kThemeInactiveUtilityWindowTitleTextColor
- Text color for inactive utility (floating) window title. Available with Appearance 1.0.1 and later.
kThemeActivePopupWindowTitleColor
- Text color for active pop-up window title. Available with Appearance 1.0.1 and later.
kThemeInactivePopupWindowTitleColor
- Text color for inactive pop-up window title. Available with Appearance 1.0.1 and later.
kThemeActiveRootMenuTextColor
- Text color for active root menu. Available with Appearance 1.0.1 and later.
kThemeSelectedRootMenuTextColor
- Text color for selected root menu. Available with Appearance 1.0.1 and later.
kThemeDisabledRootMenuTextColor
- Text color for disabled root menu. Available with Appearance 1.0.1 and later.
kThemeActiveMenuItemTextColor
- Text color for active menu item. Available with Appearance 1.0.1 and later.
kThemeSelectedMenuItemTextColor
- Text color for inactive menu item. Available with Appearance 1.0.1 and later.
kThemeDisabledMenuItemTextColor
- Text color for disabled menu item. Available with Appearance 1.0.1 and later.
kThemeActivePopupLabelTextColor
- Text color for active pop-up menu label. Available with Appearance 1.0.1 and later.
kThemeInactivePopupLabelTextColor
- Text color for inactive pop-up menu label. Available with Appearance 1.0.1 and later.